package com.jf.cloud.product.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

import java.util.Date;

/**
 * @author gaozijie
 * @date 2023-04-10
 */
public class StockBillInLogExcelVO {
    /**
     * excel 信息
     */
    public static final String EXCEL_NAME = "入库明细信息";
    public static final String SHEET_NAME = "入库明细";
    /**
     * 哪一行开始导出
     */
    public static final int MERGE_ROW_INDEX = 2;
    /**
     * 需要合并的列数组
     */
    public static final int[] MERGE_COLUMN_INDEX = {0,1,2,3,4,5,6,7,8,9,10};

    @ExcelProperty(value = {"入库明细信息", "入库单号"}, index = 0)
    private String stockBillNo;

    @ExcelProperty(value = {"入库明细信息", "关联订单号"}, index = 1)
    private String sourceOrderNo;

    @ExcelProperty(value = {"入库明细信息", "单据类型"}, index = 2)
    private String stockBillTypeName;

    @ExcelProperty(value = {"入库明细信息", "入库原因"}, index = 3)
    private String reason;


    @ExcelProperty(value = {"入库明细信息", "状态，0：已作废，1：已入库，2：待提交"}, index = 4)
    private String statusName;

    @ExcelProperty(value = {"入库明细信息", "入库时间"}, index = 5)
    private Date businessTime;

    @ExcelProperty(value = {"入库明细信息", "总出入库数量"}, index = 6)
    private Integer totalCount;

    @ExcelProperty(value = {"入库明细信息", "总入库金额"}, index = 7)
    private String totalAmount;

    @ExcelProperty(value = {"入库明细信息", "制单人"}, index = 8)
    private String makerName;

    @ExcelProperty(value = {"入库明细信息", "制单时间"}, index = 9)
    private Date createTime;

    @ExcelProperty(value = {"入库明细信息", "商品编码"}, index = 10)
    private String partyCode;

    @ExcelProperty(value = {"入库明细信息", "商品名称"}, index = 11)
    private String spuName;

    @ExcelProperty(value = {"入库明细信息", "规格"}, index = 12)
    private  String skuName;

    @ExcelProperty(value = {"入库明细信息", "实际出入库数量"}, index = 13)
    private Integer stockCount;

    @ExcelProperty(value = {"入库明细信息", "成本单价"}, index =14)
    private String unitPrice;

    @ExcelIgnore
    private Long stockBillLogId;

    @ExcelIgnore
    private Integer status;

    @ExcelIgnore
    private Integer stockBillType;

    @ExcelIgnore
    private Long stockChangeReasonId;

    public StockBillInLogExcelVO() {
    }

    public String getStockBillNo() {
        return stockBillNo;
    }

    public void setStockBillNo(String stockBillNo) {
        this.stockBillNo = stockBillNo;
    }

    public String getSourceOrderNo() {
        return sourceOrderNo;
    }

    public void setSourceOrderNo(String sourceOrderNo) {
        this.sourceOrderNo = sourceOrderNo;
    }

    public String getStockBillTypeName() {
        return stockBillTypeName;
    }

    public void setStockBillTypeName(String stockBillTypeName) {
        this.stockBillTypeName = stockBillTypeName;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public Date getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(Date businessTime) {
        this.businessTime = businessTime;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getMakerName() {
        return makerName;
    }

    public void setMakerName(String makerName) {
        this.makerName = makerName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPartyCode() {
        return partyCode;
    }

    public void setPartyCode(String partyCode) {
        this.partyCode = partyCode;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Long getStockBillLogId() {
        return stockBillLogId;
    }

    public void setStockBillLogId(Long stockBillLogId) {
        this.stockBillLogId = stockBillLogId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStockBillType() {
        return stockBillType;
    }

    public void setStockBillType(Integer stockBillType) {
        this.stockBillType = stockBillType;
    }

    public Long getStockChangeReasonId() {
        return stockChangeReasonId;
    }

    public void setStockChangeReasonId(Long stockChangeReasonId) {
        this.stockChangeReasonId = stockChangeReasonId;
    }

    @Override
    public String toString() {
        return "StockBillInLogExcelVO{" +
                "stockBillNo='" + stockBillNo + '\'' +
                ", sourceOrderNo='" + sourceOrderNo + '\'' +
                ", stockBillTypeName='" + stockBillTypeName + '\'' +
                ", reason='" + reason + '\'' +
                ", statusName='" + statusName + '\'' +
                ", businessTime=" + businessTime +
                ", totalCount=" + totalCount +
                ", totalAmount='" + totalAmount + '\'' +
                ", makerName='" + makerName + '\'' +
                ", createTime=" + createTime +
                ", partyCode='" + partyCode + '\'' +
                ", spuName='" + spuName + '\'' +
                ", skuName='" + skuName + '\'' +
                ", stockCount=" + stockCount +
                ", unitPrice='" + unitPrice + '\'' +
                ", stockBillLogId=" + stockBillLogId +
                ", status=" + status +
                ", stockBillType=" + stockBillType +
                ", stockChangeReasonId=" + stockChangeReasonId +
                '}';
    }
}
